//
//  TitledColorPicker.swift
//  animations
//
//  Created by Ekaterina on 16.01.2023.
//

import SwiftUI

struct TitledColorPicker: View {
    var title = ""
    @Binding var color: Color
    
    var body: some View {
        HStack {
            Text(title)
                .font(.system(size: 16, weight: .semibold))
            ColorPicker("", selection: $color, supportsOpacity: false).labelsHidden()
        }
    }
}
